package cn.iocoder.yudao.module.eval.controller.admin.major.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.fasterxml.jackson.annotation.JsonProperty;

@Schema(description = "管理后台 - 专业管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MajorRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29753")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "名称", example = "赵六")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "等级")
    @ExcelProperty("等级")
    private String level;
    
    @Schema(description = "培养目标")
    @ExcelProperty("培养目标")
    @JsonProperty("training_objective")
    private String trainingObjective;
    
    @Schema(description = "学习年限")
    @ExcelProperty("学习年限")
    @JsonProperty("study_period")
    private String studyPeriod;
    
    @Schema(description = "职业能力")
    @ExcelProperty("职业能力")
    @JsonProperty("vocational_competence")
    private String vocationalCompetence;
    
    @Schema(description = "对应或相关职业（工种）")
    @ExcelProperty("对应或相关职业（工种）")
    @JsonProperty("corresponding_occupation")
    private String correspondingOccupation;
    
    @Schema(description = "教学内容与要求")
    @ExcelProperty("教学内容与要求")
    @JsonProperty("curriculum_content")
    private String curriculumContent;
    
    @Schema(description = "对应上一级专业编码")
    @ExcelProperty("对应上一级专业编码")
    @JsonProperty("upper_level_code")
    private String upperLevelCode;
    
    @Schema(description = "对应下一级专业编码")
    @ExcelProperty("对应下一级专业编码")
    @JsonProperty("next_level_code")
    private String nextLevelCode;
    
    @Schema(description = "职业资格(职业技能等级)")
    @ExcelProperty("职业资格(职业技能等级)")
    @JsonProperty("qualification_skill_level")
    private String qualificationSkillLevel;

    @Schema(description = "所属大类ID（关联major_category表id）", example = "31151")
    @ExcelProperty("所属大类ID（关联major_category表id）")
    @JsonProperty("major_category_id")
    private Long majorCategoryId;

    @Schema(description = "状态（0禁用 1启用）", example = "2")
    @ExcelProperty(value = "状态（0禁用 1启用）", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    @JsonProperty("status")
    private Integer status;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    @JsonProperty("create_time")
    private LocalDateTime createTime;

}